package com.sghj.SysPermission.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zzy
 * @since 2022-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_scheduling_log")
@ApiModel(value="SysSchedulingLog对象", description="")
public class SysSchedulingLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键 递增")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "职工id")
    private Integer employeeId;

    @ApiModelProperty(value = "职工名字")
    private String employeeName;

    @ApiModelProperty(value = "排班月份")
    private String month;

    @ApiModelProperty(value = "操作员")
    private String operator;

    @ApiModelProperty(value = "排班数量")
    private Integer schedulingNum;

    @ApiModelProperty(value = "积分数")
    private Integer pointNum;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
